Method and apparatus for noise filtering

ABSTRACT

Disclosed is an apparatus for and a method of filtering noise from a mixed sound signal to obtained a filtered target signal, comprising the steps of inputting ( 100 ) the mixed signal through a pair of microphones ( 10 ) into a first channel ( 15   a ) and a second channel ( 15   b ), separately Fourier transforming ( 110 ) each said mixed signal into the frequency domain, computing ( 130 ) a signal short-time spectral amplitude |Ŝ| from said transformed signals, computing ( 140 ) a signal short-time spectral complex exponential e i arg(S)  from said transformed signals, where arg(S) is the phase of the target signal in the frequency domain, computing ( 150 ) said target signal S in the frequency domain from said spectral amplitude and said complex exponential.

CROSS REFERENCE TO RELATED APPLICATION

The present application claims priority to U.S. Provisional Patent Application Ser. No. 60/326,626, filed Oct. 2, 2001, which is hereby incorporated by reference.

FIELD OF THE INVENTION

This invention relates to filtering out target signals from background noise.

BACKGROUND OF THE INVENTION

There has always been a need to separate out target signals from background noise, whether the signals in question are sound or electromagnetic radiation. In the field of sound, noisy environments such as in modes of transport and offices present a communications problem, particularly when one is attempting to carry on a phone conversation. One known approach to this problem is a two-microphone system, wherein two microphones are placed at fixed locations within the room or vehicle and are connected to a signal processing device. The speaker is assumed to be static during the entire use of this device. The goal is to enhance the target signal by filtering out noise based on the two-channel recording with two microphones.

The literature contains several approaches to the noise filter problem. Most of the known results use a single microphone solution, such as is disclosed in S. V. Vaseghi, Advanced Digital Signal Processing and Noise Reduction, John Wiley & Sons, 2nd Edition, 2000. In particular, the single channel optimal solution (optimal with respect to the estimation variance) was disclosed in Y. Ephraim and D. Malah, Speech enhancement using a minimum mean-square error short-time spectral amplitude estimator, IEEE Trans. on Acoustics, Speech, and Signal Processing, 32(6):1109-1121, 1984. A modified variant of that estimator was disclosed in Y. Ephraim and D. Malah, Speech enhancement using a minimum mean-square error log-spectral amplitude estimator, IEEE Trans. on Acoustics, Speech, and Signal Processing, 33(2):443-445, 1985, the disclosures of all three of which are incorporated by reference herein in their entirety.

SUMMARY OF THE INVENTION

Disclosed is a method of filtering noise from a mixed sound signal to obtained a filtered target signal, comprising the steps of inputting the mixed signal through a pair of microphones into a first channel and a second channel, separately Fourier transforming each said mixed signal into the frequency domain, computing a signal short-time spectral amplitude |Ŝ| from said transformed signals, computing a signal short-time spectral complex exponential e^(i arg(S)) from said transformed signals, where arg(S) is the phase of the target signal in the frequency domain, computing said target signal S in the frequency domain from said spectral amplitude and said complex exponential.

In another aspect of the method said target signal S in the frequency domain is inverse Fourier transformed to produce a filtered target signal s in the time domain.

Another aspect of the method further comprises the step of computing a spectral power matrix and using said spectral power matrix to compute said spectral amplitude and said spectral complex exponential.

In another aspect of the method said spectral power matrix is computed by spectral channel subtraction.

In another aspect of the method said signal short-time spectral amplitude is computed by the estimation equation $\begin{matrix} {{\hat{S}} = {E\left\lbrack {{{S}❘X_{1}},X_{2}} \right\rbrack}} \\ {= {\frac{\sqrt{\pi}}{2}\frac{1}{\sqrt{C_{1}}}{{\exp\left( {- \frac{C_{2}^{2}}{8C_{1}}} \right)}\begin{bmatrix} {1 + {\frac{C_{2}^{2}}{4C_{1}}{I_{0}\left( \frac{C_{2}^{2}}{8C_{1}} \right)}} +} \\ {\frac{C_{2}^{2}}{4C_{1}}{I_{1}\left( \frac{C_{2}^{2}}{8C_{2}} \right)}} \end{bmatrix}}\quad{where}}} \\ {{{I_{0}(z)} = {\frac{1}{2\pi}{\int_{0}^{2\pi}{{\exp\left( {z\quad\cos\quad\beta} \right)}\quad{\mathbb{d}\beta}}}}},} \\ {{{I_{n}(1)} = {\frac{1}{2\pi}{\int_{0}^{2\pi}{{\cos(\beta)}{\exp\left( {z\quad\cos\quad\beta} \right)}\quad{\mathbb{d}\beta}}}}},} \\ {{C_{1} = {\frac{1}{\rho_{s}} + {\frac{1}{\det\quad R_{n}}\left( {R_{22} + {R_{11}{K}^{2}} - {KR}_{12} - {\overset{\_}{K}R_{21}}} \right)}}},} \\ {{C_{2} = {\frac{2}{\det\quad R_{n}}{{{{\overset{\_}{X}}_{1}R_{22}} + {{\overset{\_}{X}}_{2}{KR}_{11}} - {X_{2}R_{12}} - {X_{1}\overset{\_}{K}R_{21}}}}}},} \end{matrix}$ X₁ and X₂ are the Fourier transformed first and second signals respectively, R_(nm) are elements of said spectral power matrix, and K is a constant.

In another aspect of the method said signal short-time spectral complex exponential is computed by the estimation equation ${z \equiv {\mathbb{e}}^{{\mathbb{i}}\quad{ar}{\hat{g}{(S)}}}} = \frac{{R_{22}X_{1}} + {R_{11}\overset{\_}{K}X_{2}} - {R_{21}\overset{\_}{K}X_{1}} - {R_{12}X_{2}}}{{{R_{22}X_{1}} + {R_{11}\overset{\_}{K}X_{2}} - {R_{21}\overset{\_}{K}X_{1}} - {R_{12}X_{2}}}}$

In another aspect of the method said signal short-time spectral complex exponential is computed by the estimation equation ${z \equiv {\mathbb{e}}^{{\mathbb{i}}\quad{ar}{\hat{g}{(S)}}}} = \frac{{R_{22}X_{1}} + {R_{11}\overset{\_}{K}X_{2}} - {R_{21}\overset{\_}{K}X_{1}} - {R_{12}X_{2}}}{{{R_{22}X_{1}} + {R_{11}\overset{\_}{K}X_{2}} - {R_{21}\overset{\_}{K}X_{1}} - {R_{12}X_{2}}}}$

In another aspect of the method said target signal S in the frequency domain is computed by the equation S=zA

In another aspect of the method said target signal is computed by multiplying said signal short-time spectral amplitude by said signal short-time spectral complex exponential.

Another aspect of the method further comprises the step of calibrating a function K(ω), said function equal to a ratio of one said Fourier transformed signal to the other, by the estimation equation ${K(\omega)} = \frac{\sum\limits_{t = 1}^{F}\quad{{X_{2}^{c}\left( {l,\omega} \right)}\overset{\_}{X_{1}^{c}\left( {l \cdot \omega} \right)}}}{\sum\limits_{t = 1}^{F}\quad{{X_{1}^{c}\left( {l,\omega} \right)}}^{2}}$ where X₁ ^(c)(l,ω), X₂ ^(c)(l, ω) represents the discrete windowed Fourier transform at frequency ω, and time-frame index l of the transformed signals x₁ ^(c), x₂ ^(c) within time frame c.

Disclosed is an apparatus for filtering noise from a mixed sound signal to obtained a filtered target signal, comprising a pair of input channels for receiving mixed signals from a pair of microphones, a pair of Fourier transformers, each receiving a mixed signal from one of said channels and Fourier transforming said mixed signal into a transformed signal in the frequency domain, a filter, said filter receiving said transformed signals and computing a signal short-time spectral amplitude |Ŝ| and a signal short-time spectral complex exponential e^(i arg(S)) from said transformed signals, where arg(S) is the phase of the target signal in the frequency domain, and Wherein said filter computes said target signal S in the frequency domain from said spectral amplitude and said complex exponential.

Another aspect of the apparatus further comprises a spectral power matrix updater, said updater receiving said transformed signals and computing therefrom a spectral power matrix, and outputting said spectral power matrix to said filter.

Another aspect of the apparatus further comprises an inverse Fourier transformer receiving said target signal S in the frequency domain and inverse Fourier transforming said target signal into a filtered target signal s in the time domain.

Disclosed is a program storage device readable by machine, tangibly embodying a program of instructions executable by machine to perform method steps for filtering noise from a mixed sound signal to obtained a filtered target signal, said method steps comprising inputting the mixed signal through a pair of microphones into a first channel and a second channel, separately Fourier transforming each said mixed signal into the frequency domain, computing a signal short-time spectral amplitude |Ŝ| from said transformed signals, computing a signal short-time spectral complex exponential e^(i arg(S)) from said transformed signals, where arg(S) is the phase of the target signal in the frequency domain, computing said target signal S in the frequency domain from said spectral amplitude and said complex exponential.

In another aspect of the invention said target signal S in the frequency domain is inverse Fourier transformed to produce a filtered target signal s in the time domain.

Another aspect of the invention further comprises the step of computing a spectral power matrix and using said spectral power matrix to compute said spectral amplitude and said spectral complex exponential.

In another aspect of the invention said spectral power matrix is computed by spectral channel subtraction.

In another aspect of the invention said signal short-time spectral amplitude is computed by the estimation equation $\begin{matrix} {{\hat{S}} = {E\left\lbrack {{{S}❘X_{1}},X_{2}} \right\rbrack}} \\ {= {\frac{\sqrt{\pi}}{2}\frac{1}{\sqrt{C_{1}}}{{\exp\left( {- \frac{C_{2}^{2}}{8C_{1}}} \right)}\begin{bmatrix} {1 + {\frac{C_{2}^{2}}{4C_{1}}{I_{0}\left( \frac{C_{2}^{2}}{8C_{1}} \right)}} +} \\ {\frac{C_{2}^{2}}{4C_{1}}{I_{1}\left( \frac{C_{2}^{2}}{8C_{2}} \right)}} \end{bmatrix}}\quad{where}}} \\ {{{I_{0}(z)} = {\frac{1}{2\pi}{\int_{0}^{2\pi}{{\exp\left( {z\quad\cos\quad\beta} \right)}\quad{\mathbb{d}\beta}}}}},} \\ {{{I_{n}(1)} = {\frac{1}{2\pi}{\int_{0}^{2\pi}{{\cos(\beta)}{\exp\left( {z\quad\cos\quad\beta} \right)}\quad{\mathbb{d}\beta}}}}},} \\ {{C_{1} = {\frac{1}{\rho_{s}} + {\frac{1}{\det\quad R_{n}}\left( {R_{22} + {R_{11}{K}^{2}} - {KR}_{12} - {\overset{\_}{K}R_{21}}} \right)}}},} \\ {{C_{2} = {\frac{2}{\det\quad R_{n}}{{{{\overset{\_}{X}}_{1}R_{22}} + {{\overset{\_}{X}}_{2}{KR}_{11}} - {X_{2}R_{12}} - {X_{1}\overset{\_}{K}R_{21}}}}}},} \end{matrix}$ X₁ and X₂ are the Fourier transformed first and second signals respectively, R_(nm) are elements of said spectral power matrix, and K is a constant.

In another aspect of the invention said signal short-time spectral complex exponential is computed by the estimation equation ${z \equiv {\mathbb{e}}^{{\mathbb{i}}\quad{ar}{\hat{g}{(S)}}}} = \frac{{R_{22}X_{1}} + {R_{11}\overset{\_}{K}X_{2}} - {R_{21}\overset{\_}{K}X_{1}} - {R_{12}X_{2}}}{{{R_{22}X_{1}} + {R_{11}\overset{\_}{K}X_{2}} - {R_{21}\overset{\_}{K}X_{1}} - {R_{12}X_{2}}}}$

In another aspect of the invention said signal short-time spectral complex exponential is computed by the estimation equation ${z \equiv {\mathbb{e}}^{{\mathbb{i}}\quad{ar}{\hat{g}{(S)}}}} = \frac{{R_{22}X_{1}} + {R_{11}\overset{\_}{K}X_{2}} - {R_{21}\overset{\_}{K}X_{1}} - {R_{12}X_{2}}}{{{R_{22}X_{1}} + {R_{11}\overset{\_}{K}X_{2}} - {R_{21}\overset{\_}{K}X_{1}} - {R_{12}X_{2}}}}$

In another aspect of the invention said target signal S in the frequency domain is computed by the equation S=zA

In another aspect of the invention said target signal is computed by multiplying said signal short-time spectral amplitude by said signal short-time spectral complex exponential.

Another aspect of the invention further comprises the step of calibrating a function K(ω)), said function equal to a ratio of one said Fourier transformed signal to the other, by the estimation equation ${K(\omega)} = \frac{\sum\limits_{t = 1}^{F}\quad{{X_{2}^{c}\left( {l,\omega} \right)}\overset{\_}{X_{1}^{c}\left( {l \cdot \omega} \right)}}}{\sum\limits_{t = 1}^{F}\quad{{X_{1}^{c}\left( {l,\omega} \right)}}^{2}}$ where X₁ ^(c)(l,ω), X₂ ^(c)(l,ω) represents the c^(th) discrete windowed Fourier transform at frequency ω, and time-frame index l of the transformed signals x₁ ^(c), x₂ ^(c).

Another aspect of the invention further comprises the step of updating a function K(ω), said function equal to a ratio of one said Fourier transformed signal to the other, said updating effected by using a linear combination between a previous value for K(ω) at a time t−1 and a current value for K(ω) at a time t according to the equation K ^(t)(ω)=(1−α)K ^(t−1)(ω)+αK(ω) where α is an adaptation rate.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of an embodiment of the invention.

FIG. 2 is a flow diagram of a method of the invention.

DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS

This invention generalizes the minimum variance estimators of Y Ephraim and D. Malah, supra, to a two-channel scheme, by making use of a second microphone signal to further enhance the useful target signal at reduced level of artifacts.

Referring to FIG. 1, a pair of signals, x₁ and X₂ are input from a pair of microphones 10 and each signal is received separately through a pair of channels 15 a, 15 b into separate discrete Fourier transformers 20 to yield Fourier transformed signals X₁ and X₂. The microphones may be spaced any suitable distance apart, and will typically be spaced within a fraction of an inch apart when the invention is used on small devices, such as cellphones, but may be spaced many feet apart for use in conference rooms or other large spaces. The invention may be used indoors or outdoors.

A mixing model may be given by: x ₁(t)=s(t)+n ₁(t)   (1) x ₂(t)=k*s(t)+n ₂(t)   (2) where x₁(t), x₂(t) are the two synchronously sampled signals, s(t) is the target signal as measured by the first microphone in the absence of the ambient noise, and n₁(t); n₂(t) are the ambient noise signals, all sampled at moment t. The sequence k represents the relative impulse response between the two channels and is defined in the frequency domain by the ratio of the two measured signals (x₁ ⁰,x₂ ⁰) in the absence of noise: $\begin{matrix} {{K(\omega)} = \frac{X_{2}^{0}(\omega)}{X_{1}^{0}(\omega)}} & (3) \end{matrix}$

A preferred method is applied in the frequency domain, thus we do not make explicit use of the sequence k, but rather of the function K( ). In frequency domain, the mixing model of Equations 1, 2 becomes: X ₁(ω)=S(ω)+N ₁(ω)   (4) X ₂(ω)=K(ω)S(ω)+N ₂(ω)   (5) where X₁, X₂, S, N₁, N₂ are the short-time spectral representations of x₁, x₂, s, n₁, and n₂, respectively.

It will generally be preferable to calibrate the system beforehand to obtain a precise value of for K( ), which will vary according to the environment and equipment. This can be done by receiving the target sound (e.g., a voice speaking a sentence) through the two microphone channels 15 in the absence or near absence of noise. Based on the two recordings, x₁ ^(c)(t) and x₂ ^(c)(t), the constant K(ω) is estimated by: $\begin{matrix} {{K(\omega)} = \frac{\sum\limits_{t = 1}^{F}\quad{{X_{2}^{c}\left( {l,\omega} \right)}\overset{\_}{X_{1}^{c}\left( {l \cdot \omega} \right)}}}{\sum\limits_{t = 1}^{F}\quad{{X_{1}^{c}\left( {l,\omega} \right)}}^{2}}} & (6) \end{matrix}$ where X₁ ^(c)(l,ω), X₂ ^(c)(l,ω) represents the discrete windowed Fourier transform at frequency ω, and time-frame index l of the signals x₁ ^(c), x₂ ^(c). The time-frame index l represents the current block of signal data and will be omitted from the remaining equations in this disclosure for reasons of clarity. Calibration may be effected by a separate Calibrator 30, which performs the estimation of Equation 6. Windowing may be effected by use of a Hamming window w(.) of a suitable size, such as 512 samples, such as are described in D. F. Elliott (Ed.), Handbook of Digital Signal Processing, Engineering Applications, Academic Press, 1987, the disclosures of which are incorporated by reference herein in their entirety. An alternative to calibrating K is to update its value on-line. K would be adapted either on every time frame, or on frames where voice has been detected using a linear combination between its old value and the value given by Equation 6: K ^(t)(ω)=(1−α)K ^(t−1)(ω)+αK(ω)   (6b) where the typical value of the adaptation rate α is 0.2. In this case the Calibrator 30 is instead an Updater 30.

After calibration, it is desirable to enhance the target signal. During nominal use, the invention will use X₁(ω), X₂(ω) (i.e., the discrete Fourier transforms on current time-frame of x₁, x₂, windowed by ω and an estimate of a noise spectral power 2×2 matrix R_(n): R_(n)=[R₁₁, R₁₂; R₂₁, R₂₂]  (7)

The ideal noise spectral matrix is defined by $\begin{matrix} {{\hat{R}}_{n} = {{E\begin{bmatrix} N_{1} \\ N_{2} \end{bmatrix}}\left\lbrack {{\overset{\_}{N}}_{1},{\overset{\_}{N}}_{2}} \right\rbrack}} & (8) \end{matrix}$ where E is the expectation operator. During normal operation, the method of the invention will update the noise spectral power matrix R_(n) ^(new) periodically, as will be described more fully below. On startup, the system will preferably use spectral subtraction on one of the channels, such as for example the first channel 15 a, to estimate the signal spectral power: $\begin{matrix} {{R_{s} = {\theta\left( {{X_{1}}^{2} - R_{n11}} \right)}},{{\theta(x)} = \left\{ \begin{matrix} {x,} & {if} & {x > {C_{v}R_{n11}}} \\ {{C_{v}R_{n11}},} & \quad & {otherwise} \end{matrix} \right.}} & (9) \end{matrix}$ where C_(v) is a floor-level noise parameter in the range of 0 to 1. Typically, C_(v) may be set to about 0.05 for most purposes. The setting and updating of the spectral power matrix is performed by the spectral power matrix updater 40.

Next the invention computes a short-time spectral amplitude estimate. More specifically we are looking for the minimum variance estimator of short time spectral amplitude |S|. Using the previous assumptions, the MVE of the short-time spectral amplitude |S| is given by: |S|=E[|S∥X ₁ , X ₂]  (10) such as is described in H. V. Poor, An Introduction to Signal Detection and Estimation, 2nd Edition, Springer Verlag, 1994, the disclosures of which are incorporated by reference herein in their entirety.

Using Bayes formula, the conditional expectation becomes: $\begin{matrix} {{E\left\lbrack {{{S}❘X_{1}},X_{2}} \right\rbrack} = \frac{\begin{matrix} {\int_{0}^{\infty}{{\mathbb{d}u}{\int_{0}^{2\pi}{{\mathbb{d}\alpha}\quad{{up}\left( {X_{1},{{X_{2}❘{S}} = u},{{\arg(S)} = \alpha}} \right)}}}}} \\ {p\quad\left( {{\arg(S)} = \alpha} \right){p\left( {{S} = u} \right)}} \end{matrix}}{\begin{matrix} {\int_{0}^{\infty}{{\mathbb{d}u}{\int_{0}^{2\pi}{{\mathbb{d}\alpha}\quad{p\left( {X_{1},{{X_{2}❘{S}} = u},{{\arg(S)} = \alpha}} \right)}}}}} \\ {p\quad\left( {{\arg(S)} = \alpha} \right){p\left( {{S} = u} \right)}} \end{matrix}}} & (11) \end{matrix}$

The Gaussianity assumption implies the following probability density functions: $\begin{matrix} {{p\left( {X_{1},{{X_{2}❘{S}} = u},{{\arg(S)} = \alpha}} \right)} = {{\frac{1}{\pi\sqrt{\det\quad R_{n}}} \cdot \exp}\left\{ {- \left\lbrack {\begin{matrix} {{\overset{\_}{X}}_{1} - {u\mathbb{e}}^{{- {\mathbb{i}}}\quad a}} & \left. {{\overset{\_}{X}}_{2} - {Ku\mathbb{e}}^{{- {\mathbb{i}}}\quad a}} \right\rbrack \end{matrix}{R_{n}^{- 1}\begin{bmatrix} {X_{1} - {u\mathbb{e}}^{{- {\mathbb{i}}}\quad a}} \\ {X_{2} - {Ku\mathbb{e}}^{{- {\mathbb{i}}}\quad a}} \end{bmatrix}}} \right\}} \right.}} & (12) \\ {{p\left( {{\arg(S)} = \alpha} \right)} = \frac{1}{2\pi}} & (13) \\ {{p\left( {{S} = u} \right)} = {\frac{2}{\rho_{s}u}{\exp\left( {- \frac{u^{2}}{\rho_{s}}} \right)}}} & (14) \end{matrix}$

The integral over α turns into: $\begin{matrix} {{\int_{0}^{2\pi}{{p\left( {X_{1},{{X_{2}❘{\arg(S)}} = \alpha},{{S} = u}} \right)}p\quad\left( {{\arg(S)} = \alpha} \right){p\left( {{S} = u} \right)}{\mathbb{d}\alpha}}} = {\exp\left\{ {- {\frac{1}{\det\quad R_{n}}\left\lbrack {{{X_{1}}^{2}R_{22}} + {{X_{2}}^{2}R_{11}} - {{\overset{\_}{X}}_{1}X_{2}R_{12}} - {X_{1}{\overset{\_}{X}}_{2}R_{21}}} \right\rbrack}} \right\} \times \exp\left\{ {- {\frac{u^{2}}{\det\quad R_{n}}\left\lbrack {R_{22} + {R_{11}{K}^{2}} - {KR}_{12} - {\overset{\_}{K}R_{21}}} \right\rbrack}} \right\} 2\pi\quad{I_{0}\left( {\frac{2u}{\det\quad R_{n}}{{{{\overset{\_}{X}}_{1}R_{22}} + {{\overset{\_}{X}}_{2}{KR}_{11}} - {X_{2}R_{12}} - {X_{1}\overset{\_}{K}R_{21}}}}} \right)}}} & (14) \end{matrix}$

Inserting this expression into the formula above and changing the variable C₂u=a, the conditional expectation turns into: $\begin{matrix} {{E\left\lbrack {{{S}❘X_{1}},X_{2}} \right\rbrack} = {\frac{1}{C_{2}}\frac{\int_{0}^{\infty}{a^{2}{\exp\left( {{- \frac{C_{1}}{C_{2}^{2}}}a^{2}} \right)}{I_{0}(a)}{\mathbb{d}a}}}{\int_{0}^{\infty}{a\quad{\exp\left( {{- \frac{C_{1}}{C_{2}^{2}}}a^{2}} \right)}{I_{0}(a)}{\mathbb{d}a}}}}} & (16) \\ {C_{1} = {\frac{1}{\rho_{s}} + {\frac{1}{\det\quad R_{n}}\left( {R_{22} + {R_{11}{K}^{2}} - {KR}_{12} - {\overset{\_}{K}R_{21}}} \right)}}} & (17) \\ {C_{2} = {\frac{2}{\det\quad R_{n}}{{{{\overset{\_}{X}}_{1}R_{22}} + {{\overset{\_}{X}}_{2}{KR}_{11}} - {X_{2}R_{12}} - {X_{1}\overset{\_}{K}R_{21}}}}}} & (18) \end{matrix}$ where:

-   -   and R_(ij) denotes the (i, j)'th entry of R_(n). Using         derivations similar to Ephraim-Malah derivations such as         described in Y. Ephraim and D. Malah, Speech enhancement using a         minimum mean-square error short-time spectral amplitude         estimator, IEEE Trans. on Acoustics, Speech, and Signal         Processing, 32(6):1109-1121, 1984, the disclosures of which are         incorporated by reference herein in their entirety, the above         integrals turn into: $\begin{matrix}         {{\hat{S}} = {{E\left\lbrack {{{S}❘X_{1}},X_{2}} \right\rbrack} = {\frac{\sqrt{\pi}}{2}\frac{1}{\sqrt{C_{1}}}{{\exp\left( {- \frac{C_{2}^{2}}{8C_{1}}} \right)}\left\lbrack {1 + {\frac{C_{2}^{2}}{4C_{1}}{I_{0}\left( \frac{C_{2}^{2}}{8C_{1}} \right)}} + {\frac{C_{2}^{2}}{4C_{1}}{I_{1}\left( \frac{C_{2}^{2}}{8C_{2}} \right)}}} \right\rbrack}}}} & (19)         \end{matrix}$         where I₀, I₁ are the modified Bessel functions of the first kind         (such as are described in I. S. Gradshteyn and I. M. Ryzhik,         Table of Integrals, Series, and Products, 4th Edition, Academic         Press, 1980, the disclosures of which are incorporated by         reference herein in their entirety) defined by $\begin{matrix}         {{I_{0}(z)} = {\frac{1}{2\pi}{\int_{0}^{2\pi}{{\exp\left( {z\quad\cos\quad\beta} \right)}{\mathbb{d}\beta}\quad{and}}}}} & \left( {20a} \right) \\         {{I_{n}(1)} = {\frac{1}{2\pi}{\int_{0}^{2\pi}{{\cos(\beta)}{\exp\left( {z\quad\cos\quad\beta} \right)}{\mathbb{d}\beta}}}}} & \left( {20b} \right)         \end{matrix}$

Notice that for K=0 and R₁₂=R₂₁=0, the parameters C₁, C₂ in (19) and (20) turns in $= {C_{1} = {{\frac{1}{\rho_{s}} + {\frac{1}{R_{11}}\quad{and}\quad C_{2}}} = {\frac{2}{R_{11}}{{X_{1}}.}}}}$ Thus: $\begin{matrix} {\frac{C_{2}^{2}}{4C_{1}} = {{\frac{\frac{\rho_{s}}{R_{11}}\quad}{{1 + \frac{\rho_{s}}{R_{11}}}\quad}\frac{{X_{1}}^{2}}{R_{11}}} = v}} & (21) \\ {\frac{1}{\sqrt{C_{1}}} = {\frac{\sqrt{v}}{\gamma}{X_{1}}}} & (22) \end{matrix}$ where ${v = {\frac{\xi}{1 + \xi}\gamma}},\quad{\xi = \frac{\rho_{s}}{R_{11}}},\quad{\gamma = \frac{{X_{1}}^{2}}{R_{11}}}$ are the Ephraim-Malah parameters. Thus (21) reduces to the single channel Ephraim-Malah estimator known from Y. Ephraim and D. Malah (1984), supra.

The invention now computes a short-time spectral complex exponential estimate, wherein several optimization problems are formulated to estimate the phase arg(S) of Fourier transformed target signal S. The first estimator is simply the MVE of e^(i erg(S)). The formal derivation yields: MVE(e ^(i arg(S)))=E[e ^(i arg(S)) |X ₁ , X ₂]  (22)

Let us denote Φ(X₁, X₂)=E[e^(i arg(S))|X₁, X₂]. It turns out, in general |Φ(X₁, X₂)|≠1   (23) Thus, Φ cannot be associated to any phase.

The second optimal problem is to find MVE of e ^(i arg(S)) constrained over modulus 1 estimators. Thus we want to minimize: min_(z=z(X) ₁ _(, X) ₂ _(),|z|=1) E[|e ^(i arg(S)) −z| ²]  (25) which, by conditioning over X1, X2, turns into: min_(|z|=1) E[|e ^(i arg(S)−z)|² |X ₁ , X ₂]  (26)

The constrained MVE solution is immediate (using Lagrange multiplier): $\begin{matrix} {{{ConstrainedMVE}\left( {\mathbb{e}}^{{{\mathbb{i}}\arg}{(S)}} \right)} = {\frac{E\left\lbrack {{{\mathbb{e}}^{{\mathbb{i}arg}{(S)}}❘X_{1}},X_{2}} \right\rbrack}{E\left\lbrack {{{\mathbb{e}}^{{\mathbb{i}arg}{(S)}}❘X_{1}},X_{2}} \right\rbrack} = \frac{\Phi\left( {X_{1},X_{2}} \right)}{{\Phi\left( {X_{1},X_{2}} \right)}}}} & (27) \end{matrix}$

Thirdly, we may want to find the optimal phase estimator in the sense suggested in A. S. Wilsky, Fourier series and estimation on the circle with applications to synchronous communication—part i: Analysis, IEEE Trans. IT, 20:577-583, 1974, the disclosures of which are incorporated by reference herein in their entirety, namely: {circumflex over (α)}=arg min_(α(X) ₁ _(,X) ₂ ₎ E[1−cos(arg(S)−α)]  (28)

Again, by conditioning over X₁, X₂, we get: $\begin{matrix} {{\tan\left( \hat{\alpha} \right)} = {\frac{E\left\lbrack {{{\sin\left( {\arg(S)} \right)}❘X_{1}},X_{2}} \right\rbrack}{E\left\lbrack {{{\cos\left( {\arg(S)} \right)}❘X_{1}},X_{2}} \right\rbrack} = \frac{{imag}\left( {\Phi\left( {X_{1},X_{2}} \right)} \right)}{{real}\left( {\Phi\left( {X_{1},X_{2}} \right)} \right)}}} & (29) \end{matrix}$

Thus: e ^(i{circumflex over (α)})=ConstrainedMVE(e ^(i arg(S)))   (30)

In effect, we checked that the constrained MVE of the phase coincides with the optimal estimator w.r.t. criterion of Equation (24) and is given by: $\begin{matrix} {{\mathbb{e}}^{{{\mathbb{i}}{ar}}{\hat{g}{(S)}}} = \frac{\Phi\left( {X_{1},X_{2}} \right)}{{\Phi\left( {X_{1},X_{2}} \right)}}} & (31) \end{matrix}$

Let us compute now Φ(X₁, X₂)=E[e^(i arg(S))|X₁,X₂]. Similar to (15) and writing e^(i arg(S))=e^(i(arg(S)−β))e^(iβ) we obtain: $\begin{matrix} {{\Phi\left( {X_{1},X_{2}} \right)} = {{\mathbb{e}}^{\mathbb{i}\beta}\frac{\begin{matrix} {\int_{0}^{\infty}{{\mathbb{d}u}{\int_{0}^{2\pi}{{\mathbb{d}\alpha}\quad{\mathbb{e}}^{{\mathbb{i}}{({\alpha - \beta})}}{p\left( {X_{1},{X_{2}❘u},\alpha} \right)}}}}} \\ {p\left( {{S} = u} \right){p\left( {{\arg(S)} = \alpha} \right)}} \end{matrix}}{\int_{0}^{\infty}{{\mathbb{d}u}{\int_{0}^{2\pi}{{\mathbb{d}\alpha}\quad{p\left( {X_{1},{X_{2}❘u},\alpha} \right)}{p\left( {{S} = u} \right)}{p\left( {{\arg(S)} = \alpha} \right)}}}}}}} & (32) \end{matrix}$

We define the following quantity, L(β,u): L(β,u)=∫₀ ^(2π) dα sin(α−β)p(X ₁ ,X ₂ |u,α)   (33)

We shall choose β in such a way such that: L(β,u)=0∀u   (34)

Using (12) we obtain: $\begin{matrix} {{L\left( {\beta,u} \right)} = {{T\left( {X_{1},X_{2},u} \right)}{\int_{0}^{2\pi}{{\mathbb{d}\alpha}\quad{\sin\left( {\alpha - \beta} \right)}\exp\left\{ {\frac{u}{\det\quad R_{n}}\left\lbrack {{{\mathbb{e}}^{- {\mathbb{i}\alpha}}\left( {{R_{22}X_{1}} + {R_{11}\overset{\_}{K\quad}X_{2}} - {R_{21}\overset{\_}{K}X_{1}} - {R_{12}X_{2}}} \right)} + {c.c.}} \right\rbrack} \right\}}}}} & (35) \end{matrix}$ where T(X₁, X₂, u) collects all the terms that do not depend on α of Equation (12). Note that T(X₁, X₂, u) is real. Let w=R₂₂X₁+R₁₁{overscore (K)}X₂−R₂₁{overscore (K)}X₁−R₁₂X₂. Thus: $\begin{matrix} {{L\left( {\beta,u} \right)} = {{T\left( {X_{1},X_{2},u} \right)}{\int_{0}^{2\pi}{{\mathbb{d}\alpha}\quad{\sin\left( {\alpha - \beta} \right)}\exp\left\{ {\frac{2u{w}}{\det\quad R_{n}}{\cos\left( {\alpha - {\arg(w)}} \right)}} \right\}}}}} & (36) \end{matrix}$

Note, by choosing β=arg(w), the integral vanishes. Note also that L(β, u) corresponds also to the imaginary part of Φ(X₁,X₂)e^(−iβ) from Equation (32). Thus we proved: arg(Φ(X ₁ ,X ₂))=arg(R ₂₂ X ₁ +R ₁₁ {overscore (K)}X ₂ −R ₂₁ {overscore (K)}X ₁ −R ₁₂ X ₂)   (37) and the optimal estimator (31) becomes: $\begin{matrix} {{z \equiv {\mathbb{e}}^{{{\mathbb{i}}{ar}}{\hat{g}{(S)}}}} = \frac{{R_{22}X_{1}} + {R_{11}\overset{\_}{K}\quad X_{2}} - {R_{21}\overset{\_}{K}\quad X_{1}} - {R_{12}X_{2}}}{{{R_{22}X_{1}} + {R_{11}\overset{\_}{K}\quad X_{2}} - {R_{21}\overset{\_}{K}\quad X_{1}} - {R_{12}X_{2}}}}} & (38) \end{matrix}$

Note that for K=0, R₁₂=R₂₁=0, the above expression becomes e^(i arg(S))=e^(i arg(X) ¹ ⁾, which is the estimator used by Y. Ephraim and D. Malah (1984), supra.

Generally speaking, the estimations of short-time spectral amplitude and short-time spectral complex exponential will be optimal in the sense of minimum variance estimation and minimum mean square error, if the following conditions are satisfied:

-   -   (a) The mixing model (1,2) is time-invariant;     -   (b) The target signal s is short-time stationary and has         zero-mean Gaussian distribution;     -   (c) The noise n is short-time stationary and has zero-mean         Gaussian distribution;     -   (d) The target signal s is statistically independent of the two         noises n₁; n₂.

We may now compute the target signal short-time estimate by multiplying (19) with (28): S=z|Ŝ|  (29) and return in time domain through the overlap-add procedure using the windowed inverse discrete Fourier transformer 50 through the output channel 55, thereby obtaining an estimate for the target signal s in the time domain, which is the noise-filtered target signal s. Generally the three steps of estimating the signal short-time spectral amplitude, estimating the signal short-time spectral complex exponential, and computing S is handled by the filter 50.

Lastly, the power matrix is updated. This may be done on a regular periodic basis, or whenever there is a lull in the target signal, such as a lull in speech. For example, a voice activity detector (VAD), such as for example that described in R. Balan, S. Rickard, and J. Rosca, Method for voice detection in car environments for two-microphone inputs, Invention Disclosure, December 2000, IPD 2000E22789 US, the disclosures of which are incorporated by reference herein in their entirety, may be used to detect whether voice is present in the current frame of data. If voice is not present, the power matrix updater 40 then updates the noise spectral power matrix using the formula: $\begin{matrix} {R_{n}^{new} = {{\left( {1 - \alpha} \right)R_{n}} + {{\alpha\begin{bmatrix} X_{1} \\ X_{2} \end{bmatrix}}\left\lbrack {{\overset{\_}{X}}_{1}\quad{\overset{\_}{X}}_{2}} \right\rbrack}}} & (30) \end{matrix}$ where α is a noise learning rate between 0 and 1, and will typically be set to about 0.2 for most applications.

Referring to FIG. 2, the steps of the method of the invention may be summarized as follows:

1. Input a mixed signal through a pair of microphones.

2. Fourier transform each mixed signal into the frequency domain.

3. Derive 100, a signal spectral power matrix.

4. Estimate 110, the signal short-time spectral amplitude.

5. Estimate 120, the signal short-time spectral complex exponential.

6. Estimate 130, the filtered target signal in the frequency domain.

7. Return 140, the filtered target signal to the time domain by inverse Fourier transformation.

The methods of the invention may be implemented as a program of instructions, readable and executable by machine such as a computer, and tangibly embodied and stored upon a machine-readable medium such as a computer memory device.

It is to be understood that all physical quantities disclosed herein, unless explicitly indicated otherwise, are not to be construed as exactly equal to the quantity disclosed, but rather as about equal to the quantity disclosed. Further, the mere absence of a qualifier such as “about” or the like, is not to be construed as an explicit indication that any such disclosed physical quantity is an exact quantity, irrespective of whether such qualifiers are used with respect to any other physical quantities disclosed herein.

While preferred embodiments have been shown and described, various modifications and substitutions may be made thereto without departing from the spirit and scope of the invention. Accordingly, it is to be understood that the present invention has been described by way of illustration only, and such illustrations and embodiments as have been disclosed herein are not to be construed as limiting to the claims. 

1. A method of filtering noise from a mixed sound signal to obtained a filtered target signal, comprising the steps of: inputting the mixed signal through a pair of microphones into a first channel and a second channel; separately Fourier transforming each said mixed signal into the frequency domain; computing a signal short-time spectral amplitude |Ŝ| from said transformed signals; computing a signal short-time spectral complex exponential e^(i arg(S)) from said transformed signals, where arg(S) is the phase of the target signal in the frequency domain; computing said target signal S in the frequency domain from said spectral amplitude and said complex exponential.
 2. The method of claim 1 wherein said target signal S in the frequency domain is inverse Fourier transformed to produce a filtered target signal s in the time domain.
 3. The method of claim 1 further comprising the step of computing a spectral power matrix and using said spectral power matrix to compute said spectral amplitude and said spectral complex exponential.
 4. The method of claim 3 wherein said spectral power matrix is computed by spectral channel subtraction.
 5. The method of claim 3 wherein said signal short-time spectral amplitude is computed by the estimation equation ${\hat{S}} = {{E\left\lbrack {{{S}❘X_{1}},X_{2}} \right\rbrack} = {\frac{\sqrt{\pi}}{2}\frac{1}{\sqrt{C_{1}}}{{\exp\left( {- \frac{C_{2}^{2}}{8C_{1}}} \right)}\left\lbrack {1 + {\frac{C_{2}^{2}}{4C_{1}}{I_{0}\left( \frac{C_{2}^{2}}{8C_{1}} \right)}} + {\frac{C_{2}^{2}}{4C_{1}}{I_{1}\left( \frac{C_{2}^{2}}{8C_{2}} \right)}}} \right\rbrack}}}$ ${{{where}\quad{I_{0}(z)}} = {\frac{1}{2\pi}{\int_{0}^{2\pi}{{\exp\left( {z\quad\cos\quad\beta} \right)}{\mathbb{d}\beta}}}}},{{I_{n}(1)} = {\frac{1}{2\pi}{\int_{0}^{2\pi}{{\cos(\beta)}{\exp\left( {z\quad\cos\quad\beta} \right)}{\mathbb{d}\beta}}}}},{C_{1} = {\frac{1}{\rho_{s}} + {\frac{1}{{\det R}_{n}}\left( {R_{22} + {R_{11}{K}^{2}} - {K\quad R_{12}} - {\overset{\_}{K}\quad R_{21}}} \right)}}},{C_{2} = {\frac{2}{{\det R}_{n}}{{{{\overset{\_}{X}}_{1}R_{22}} + {{\overset{\_}{X}}_{2}K\quad R_{11}} - {X_{2}R_{12}} - {X_{1}\overset{\_}{K}\quad R_{21}}}}}},$ X₁ and X₂ are the Fourier transformed first and second signals respectively, R_(nm) are elements of said spectral power matrix, and K is a constant.
 6. The method of claim 3 wherein said signal short-time spectral complex exponential is computed by the estimation equation ${z \equiv {\mathbb{e}}^{{\mathbb{i}}\quad{ar}{\hat{g}{(S)}}}} = \frac{{R_{22}X_{1}} + {R_{11}\overset{\_}{K}X_{2}} - {R_{21}\overset{\_}{K}X_{1}} - {R_{12}X_{2}}}{{{R_{22}X_{1}} + {R_{11}\overset{\_}{K}X_{2}} - {R_{21}\overset{\_}{K}X_{1}} - {R_{12}X_{2}}}}$
 7. The method of claim 3 wherein said signal short-time spectral complex exponential is computed by the estimation equation ${z \equiv {\mathbb{e}}^{{\mathbb{i}}\quad{ar}{\hat{g}{(S)}}}} = \frac{{R_{22}X_{1}} + {R_{11}\overset{\_}{K}X_{2}} - {R_{21}\overset{\_}{K}X_{1}} - {R_{12}X_{2}}}{{{R_{22}X_{1}} + {R_{11}\overset{\_}{K}X_{2}} - {R_{21}\overset{\_}{K}X_{1}} - {R_{12}X_{2}}}}$
 8. The method of claim 7 wherein said target signal S in the frequency domain is computed by the equation S=zA
 9. The method of claim 1 wherein said target signal is computed by multiplying said signal short-time spectral amplitude by said signal short-time spectral complex exponential. 10 The method of claim 1 further comprising the step of calibrating a function K(ω), said function equal to a ratio of one said Fourier transformed signal to the other, by the estimation equation ${K(\omega)} = \frac{\sum\limits_{t = 1}^{F}\quad{{X_{2}^{c}\left( {l,\omega} \right)}\overset{\_}{X_{1}^{c}\left( {l \cdot \omega} \right)}}}{\sum\limits_{t = 1}^{F}\quad{{X_{1}^{c}\left( {l,\omega} \right)}}^{2}}$ where X₁ ^(c)(l,ω), X₂ ^(c)(l,ω) represents the discrete windowed Fourier transform at frequency ω, and time-frame index l of the transformed signals x₁ ^(c), x₂ ^(c) within time frame c. 11 An apparatus for filtering noise from a mixed sound signal to obtained a filtered target signal, comprising: a pair of input channels for receiving mixed signals from a pair of microphones; a pair of Fourier transformers, each receiving a mixed signal from one of said channels and Fourier transforming said mixed signal into a transformed signal in the frequency domain; a filter, said filter receiving said transformed signals and computing a signal short-time spectral amplitude |Ŝ| and a signal short-time spectral complex exponential e ^(i arg(S)) from said transformed signals, where arg(S) is the phase of the target signal in the frequency domain; and Wherein said filter computes said target signal S in the frequency domain from said spectral amplitude and said complex exponential.
 12. The apparatus of claim 11 further comprising a spectral power matrix updater, said updater receiving said transformed signals and computing therefrom a spectral power matrix, and outputting said spectral power matrix to said filter.
 13. The apparatus of claim 11 further comprising an inverse Fourier transformer receiving said target signal S in the frequency domain and inverse Fourier transforming said target signal into a filtered target signal s in the time domain.
 14. A program storage device readable by machine, tangibly embodying a program of instructions executable by machine to perform method steps for filtering noise from a mixed sound signal to obtained a filtered target signal, said method steps comprising: inputting the mixed signal through a pair of microphones into a first channel and a second channel; separately Fourier transforming each said mixed signal into the frequency domain; computing a signal short-time spectral amplitude |{overscore (S)}| from said transformed signals; computing a signal short-time spectral complex exponential e^(i arg(S)) from said transformed signals, where arg(S) is the phase of the target signal in the frequency domain; computing said target signal S in the frequency domain from said spectral amplitude and said complex exponential.
 15. The device of claim 14 wherein said target signal S in the frequency domain is inverse Fourier transformed to produce a filtered target signal s in the time domain.
 16. The device of claim 14 further comprising the step of computing a spectral power matrix and using said spectral power matrix to compute said spectral amplitude and said spectral complex exponential.
 17. The device of claim 16 wherein said spectral power matrix is computed by spectral channel subtraction.
 18. The device of claim 16 wherein said signal short-time spectral amplitude is computed by the estimation equation $\begin{matrix} {{\hat{S}} = {E\left\lbrack {{{S}❘X_{1}},X_{2}} \right\rbrack}} \\ {= {\frac{\sqrt{\pi}}{2}\frac{1}{\sqrt{C_{1}}}{{\exp\left( {- \frac{C_{2}^{2}}{8C_{1}}} \right)}\begin{bmatrix} {1 + {\frac{C_{2}^{2}}{4C_{1}}{I_{0}\left( \frac{C_{2}^{2}}{8C_{1}} \right)}} +} \\ {\frac{C_{2}^{2}}{4C_{1}}{I_{1}\left( \frac{C_{2}^{2}}{8C_{2}} \right)}} \end{bmatrix}}\quad{where}}} \\ {{{I_{0}(z)} = {\frac{1}{2\pi}{\int_{0}^{2\pi}{{\exp\left( {z\quad\cos\quad\beta} \right)}\quad{\mathbb{d}\beta}}}}},} \\ {{{I_{n}(1)} = {\frac{1}{2\pi}{\int_{0}^{2\pi}{{\cos(\beta)}{\exp\left( {z\quad\cos\quad\beta} \right)}\quad{\mathbb{d}\beta}}}}},} \\ {{C_{1} = {\frac{1}{\rho_{s}} + {\frac{1}{\det\quad R_{n}}\left( {R_{22} + {R_{11}{K}^{2}} - {KR}_{12} - {\overset{\_}{K}R_{21}}} \right)}}},} \\ {{C_{2} = {\frac{2}{\det\quad R_{n}}{{{{\overset{\_}{X}}_{1}R_{22}} + {{\overset{\_}{X}}_{2}{KR}_{11}} - {X_{2}R_{12}} - {X_{1}\overset{\_}{K}R_{21}}}}}},} \end{matrix}$ X₁ and X₂ are the Fourier transformed first and second signals respectively, R_(nm) are elements of said spectral power matrix, and K is a constant.
 19. The device of claim 16 wherein said signal short-time spectral complex exponential is computed by the estimation equation ${z \equiv {\mathbb{e}}^{{\mathbb{i}}\quad{ar}{\hat{g}{(S)}}}} = \frac{{R_{22}X_{1}} + {R_{11}\overset{\_}{K}X_{2}} - {R_{21}\overset{\_}{K}X_{1}} - {R_{12}X_{2}}}{{{R_{22}X_{1}} + {R_{11}\overset{\_}{K}X_{2}} - {R_{21}\overset{\_}{K}X_{1}} - {R_{12}X_{2}}}}$
 20. The device of claim 16 wherein said signal short-time spectral complex exponential is computed by the estimation equation ${z \equiv {\mathbb{e}}^{{\mathbb{i}}\quad{ar}{\hat{g}{(S)}}}} = \frac{{R_{22}X_{1}} + {R_{11}\overset{\_}{K}X_{2}} - {R_{21}\overset{\_}{K}X_{1}} - {R_{12}X_{2}}}{{{R_{22}X_{1}} + {R_{11}\overset{\_}{K}X_{2}} - {R_{21}\overset{\_}{K}X_{1}} - {R_{12}X_{2}}}}$
 21. The device of claim 20 wherein said target signal S in the frequency domain is computed by the equation S=zA
 22. The device of claim 14 wherein said target signal is computed by multiplying said signal short-time spectral amplitude by said signal short-time spectral complex exponential.
 23. The device of claim 14 further comprising the step of calibrating a function K(ω), said function equal to a ratio of one said Fourier transformed signal to the other, by the estimation equation ${K(\omega)} = \frac{\sum\limits_{t = 1}^{F}\quad{{X_{2}^{c}\left( {l,\omega} \right)}\overset{\_}{X_{1}^{c}\left( {l \cdot \omega} \right)}}}{\sum\limits_{t = 1}^{F}\quad{{X_{1}^{c}\left( {l,\omega} \right)}}^{2}}$ where X₁ ^(c)(l,ω), X₂ ^(c)(l,ω) represents the discrete windowed Fourier transform at frequency ω, and time-frame index l of the transformed signals x₁ ^(c), x₂ ^(c) within time frame c.
 24. The device of claim 14 further comprising the step of updating a function K(ω), said function equal to a ratio of one said Fourier transformed signal to the other, said updating effected by using a linear combination between a previous value for K(ω) at a time t−1 and a current value for K(ω) at a time t according to the equation K ^(t)(ω)=(1−α)K ^(t−1)(ω)+αK(ω) where α is an adaptation rate. 